<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" version="1.0" encoding="UTF-8" omit-xml-declaration="yes"/>

  <xsl:include href="include/MSProjectSlices.xslt"/>
  
  <xsl:variable name="SprintCount" select="count(/ProjectDataSet/Project/Sprint)" />

  <xsl:template match="/">

    <Project xmlns="http://schemas.microsoft.com/project">

      <xsl:call-template name="MSProjectHeader"/>      
      <xsl:call-template name="MSProjectResources"/>

      <Tasks>


        <xsl:call-template name="MSProjectTask">
          <xsl:with-param name="type" select="1"/>          
          <xsl:with-param name="summary" select="1"/>
          <xsl:with-param name="uId" select="1"/>
          <xsl:with-param name="name" select="/ProjectDataSet/Project/ProjectName"/>
          <xsl:with-param name="wbs" select="1"/>
          <xsl:with-param name="level" select="1"/>          
        </xsl:call-template>

        <xsl:call-template name="MSProjectSprints"/>
        
      </Tasks>


      <xsl:call-template name="MSProjectAssignments" />


    </Project>

  </xsl:template>

</xsl:stylesheet>
